package groupb6.shopsystem.pojo.res;

import groupb6.shopsystem.pojo.entity.Return;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.sql.Timestamp;
import java.util.List;

@Data
public class OrderProductRes {
    @ApiModelProperty("id")
    private Integer id;
    @ApiModelProperty("商家名称")
    private String storeName;
    @ApiModelProperty("订单状态")
    private Integer status;
    @ApiModelProperty("退货状态")
    private Integer statusReturn;
    @ApiModelProperty("订单金额")
    private Float priceAll;
    @ApiModelProperty("卖家id")
    private Integer sellerId;
    @ApiModelProperty("买家id")
    private Integer buyerId;
    @ApiModelProperty("卖家地址id")
    private Integer destinationIdSeller;
    @ApiModelProperty("买家地址id")
    private Integer destinationIdBuyer;
    @ApiModelProperty("下单时间")
    private Timestamp orderTime;
    @ApiModelProperty("付款时间")
    private Timestamp payTime;
    @ApiModelProperty("发货时间")
    private Timestamp deliverTime;
    @ApiModelProperty("订单完成时间")
    private Timestamp finishTime;
    @ApiModelProperty("评论")
    private String comment;
    @ApiModelProperty("商品清单")
    private List<Products> productList;
    @ApiModelProperty("退货表")
    private Return returnForm;
}
